package com.yangxk.kadmin.web.module.system.form;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 设置用户角色
 * @author yangxk
 * @date 2019/3/4 13:31
 */
@Getter
@Setter
public class UserRoleForm {

    @NotNull(message = "用户不能为空")
    private Long userId;

    private Long[] roleIds;
}
